#ifndef ZIGZAG_H
#define ZIGZAG_H

#include "Effects/RGBEffect.h"

class ZigZag : public RGBEffect
{

public:
    ZigZag();
    ~ZigZag();

    //EFFECT_REGISTERER(ClassName(), CAT_ADVANCED, [](){return new ZigZag;});

    static std::string const ClassName() {return "ZigZag";}
    //void DefineExtraOptions(QLayout*) override;
    void StepEffect(ControllerZone* const controller_zone) override;

private:
    RGBColor GetColor(float,float,float,float);

    double time = 0.;
    double progress = 0.;
};

#endif // ZIGZAG_H
